<%@ Control Language="C#" AutoEventWireup="true" Codebehind="LogFileListControl.ascx.cs"
    Inherits="ASP_TF2LogParser.UserControls.LogFileListControl" %>
<asp:GridView ID="LogFilesGridView" runat="server" BackColor="White" BorderColor="#999999"
    BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" AllowSorting="True"
    AllowPaging="True" AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
    <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
    <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
    <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
    <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
    <AlternatingRowStyle BackColor="Gainsboro" />
    <Columns>
        <asp:TemplateField HeaderText="Match">
            <ItemTemplate>
                <asp:Label runat="server" Text='<%# GenerateUrl( Eval("LogName").ToString() ) %>' ID="LogNameLabel"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:BoundField DataField="MapId" HeaderText="Map" SortExpression="MapId" />
        <asp:BoundField DataField="MatchStartTime" HeaderText="Date" SortExpression="MatchStartTime" />
        <asp:BoundField DataField="RedFinalScore" HeaderText="Red Final Score" SortExpression="RedFinalScore" />
        <asp:BoundField DataField="BlueFinalScore" HeaderText="Blue Final Score" SortExpression="BlueFinalScore" />
    </Columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:AnotherSuccessfulProcedure %>"
    SelectCommand="SELECT [LogName], [MapId], [MatchStartTime], [RedFinalScore], [BlueFinalScore] FROM [LogFiles]">
</asp:SqlDataSource>
